<!-- 已分享文件 -->
<template>
  <el-table-plus :tableData="useDataStore().tableData"></el-table-plus>
</template>

<script setup>
import { getUserShares } from '@/request/webShare'
import { useUserStore, useDataStore } from '@/stores/index'

import ElTablePlus from '@/components/el-table-plus.vue'
// const userStore = useUserStore()

getUserShares(useUserStore().UserInfo.userId).then((res) => {
  useDataStore().setData(res.data)
})
</script>

<style lang="scss" scoped></style>
